﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Http;

namespace LaoLuo.Common.Mvc
{
    public class ExtendedApiController : ApiController
    {
        public string Ip
        {
            get
            {
                return ((HttpContextBase)Request.Properties["MS_HttpContext"]).Request.UserHostAddress;
            }
        }
    }
}
